package cn.zhibang.yygh2.model.model.user;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 
 * @TableName login
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "login")
@TableName("login")
public class Login implements Serializable {
    private static final long serialVersionUID = -6227771482052359116L;
    /**
     * id,主键
     */
    @ApiModelProperty(value = "用户id")
    @TableField("id")
    private Integer id;

    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名")
    @TableField("name")
    private String name;

    /**
     * 密码
     */
    @ApiModelProperty(value = "用户密码")
    @TableField("pwd")
    private String pwd;


}